<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>修改密码界面</title>
  <link rel="stylesheet" th:href="@{/libs/css/geren/updatePassword.css}">
</head>
<body>

<form class="box-1" method="post" action="/geren/updatePassword">
  <h2 class="xiugai">修改密码</h2>
  <div class="form-group">
    <input type="hidden" name="id" th:value="${session.data.id}">
    <input type="hidden" name="oldPassword" th:value="${session.data.password}">
    <label for="password" class="col-sm-2 control-label">旧密码</label>
    <div class="col-sm-10">
      <input type="text" class="form-control"
             name="password" id="password" placeholder="请输入旧密码">
    </div>
  </div>
  <div class="form-group">
    <label for="newPassword" class="col-sm-2 control-label">新密码</label>
    <div class="col-sm-10">
      <input type="newPassword" class="form-control" id="newPassword" name="newPassword" placeholder="请输入密码">
    </div>
  </div>
  <div class="form-group">
    <label for="rePassword" class="col-sm-2 control-label">确认密码</label>
    <div class="col-sm-10">
      <input type="rePassword" class="form-control" id="rePassword" name="rePassword" placeholder="请输入密码">
    </div>
  </div>
  <div th:text="${msg}"></div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">修改密码</button>
    </div>
  </div>
</form>
</body>
<!--   引入jquery-->
<!--<script th:src="@{/libs/js/jquery/jquery.min.js}"jquery></script>-->
<script src="https://src.axui.cn/src/js/jquery-1.10.2.min.js" type="text/javascript"></script>

<!--    bootstrap样式-->
<link rel="stylesheet" th:href="@{/libs/js/bootstrap-3.4.1-dist/css/bootstrap.min.css}">
<script th:src="@{/libs/js/bootstrap-3.4.1-dist/js/bootstrap.min.js}"></script>
<!--引入js-->
<script th:src="@{/libs/js/geren/updatePassword.js}" type="text/javascript"></script>

</html>